package com.weiyu.bultrasound.core.model.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.Date;


@Builder
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Applications implements Serializable {


    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value="主键id")
    private Long id;

    @ApiModelProperty(value="申请代码")
    private String applyCode;

    @ApiModelProperty(value="患者id")
    private String patientId;

    @ApiModelProperty(value="患者名字")
    private String patientName;

    @ApiModelProperty(value="性别代码")
    private String genderCode;

    @ApiModelProperty(value="证件类型代码")
    private String idCategoryCode;

    @ApiModelProperty(value="证件号码")
    private String idNo;

    @ApiModelProperty(value="病房床位号")
    private String positionCode;

    @ApiModelProperty(value="手持超声序列号")
    private String handultSn;

    @ApiModelProperty(value="业务名称代码")
    private String busCode;

    @ApiModelProperty(value="申请时间")
    private Date applyDate;

    @ApiModelProperty(value="B超检测开始时间")
    private Date beginTime;

    @ApiModelProperty(value="状态 1. 未检测 2. 未上传（APP状态，后台列表无此状态）3. 已上传 4. 已同步")
    private Integer status;

    @ApiModelProperty(value="修改时间")
    private Date modifyTime;

}